#ifndef __QUADS_H
#define __QUADS_H

#include "Hashmap.h"

#define AFFECTATION 0

typedef struct strquad
{
    int op;
    struct strvaleur* arg1;
    struct strvaleur* arg2;
    struct strvaleur* res;
    struct strquad *next;
}StrQuad, *Quad;

Quad quad_gen(int op, struct strvaleur* arg1, struct strvaleur* arg2, struct strvaleur* res);
void addQuadList(Quad *quad_list, Quad quad);
void freeQuadList(Quad quad_list);

void quad_print(Quad q);

#endif
